

#include <stdio.h>
#include <string.h>
#include <sys/unistd.h>
//#include <unistd.h>
int main(int argc, char * argv[])
{
	char fullpath[1024];
	
	strncpy(fullpath, argv[0], strlen(argv[0]) - strlen("Trichlorotrifluoroethane"));
	strcat(fullpath, "Frosty");
	
	char* newArgv[] = { fullpath, NULL };
	
	return execve(fullpath, newArgv, NULL);

/*	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
	NSString* string = [[NSBundle mainBundle] pathForResource:@"Frosty" ofType:nil];
	
    argv[0] = (char*)[string UTF8String];
    execve([string UTF8String], argv, NULL);
    
	[pool release];
	return 0;*/
	 }
	 
